
namespace JTZY.Model.Order.Dto
{
    /// <summary>
    /// 退货单表查询对象
    /// </summary>
    public class CorecmsbillreshipQueryDto : PagerInfo
    {
        public DateTime? BeginCreateTime { get; set; }
        public DateTime? EndCreateTime { get; set; }
        public long UserId { get; set; }

    }

    /// <summary>
    /// 退货单表输入输出对象
    /// </summary>
    public class CorecmsbillreshipDto
    {
        [Required(ErrorMessage = "退货单号不能为空")]
        public string ReshipId { get; set; }

        [Required(ErrorMessage = "订单序列不能为空")]
        public string OrderId { get; set; }

        [Required(ErrorMessage = "售后单序列不能为空")]
        public string AftersalesId { get; set; }

        [Required(ErrorMessage = "用户ID 关联user.id不能为空")]
        public long UserId { get; set; }

        public string LogiCode { get; set; }

        public string LogiNo { get; set; }

        [Required(ErrorMessage = "状态不能为空")]
        public int Status { get; set; }

        public string Memo { get; set; }

        [Required(ErrorMessage = "创建时间不能为空")]
        public DateTime? CreateTime { get; set; }

        public DateTime? UpdateTime { get; set; }



        [ExcelColumn(Name = "状态")]
        public string StatusLabel { get; set; }
    }


    public class billreshipitemDto
    {

        public string ReshipId { get; set; }

        public int ProductId { get; set; }

        public string Sn { get; set; }

        public string ImageUrl { get; set; }

        /// <summary>
        /// 退货商品数量
        /// </summary>
        public int Nums { get; set; }

        public string Addon { get; set; }
        /// <summary>
        /// 退货订单数量
        /// </summary>
        public int OrderNums { get; set; }
        /// <summary>
        /// 退货金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 待发货数量
        /// </summary>
        public int WaitNums { get; set; }
        /// <summary>
        /// 待签收数量
        /// </summary>
        public int ShipNums { get; set; }
        /// <summary>
        /// 已签收数量
        /// </summary>
        public int ReceiveNums { get; set; }
    }

}